#!/bin/bash

# test.sh
# script d'essai de "bc"

sed -i "s/gcc/COMPILATEUR/g" langage_C/Makefile
sed -i "s/gfortran/COMPILATEUR/g" langage_F/Makefile

sed -i "s/DINT/TYPE/g" langage_C/Makefile
sed -i "s/DINT/TYPE/g" langage_F/Makefile

sed -i "s/O0/Op/g" langage_C/Makefile
sed -i "s/O0/Op/g" langage_F/Makefile


#forme ='carree'

#echo $forme

#racine()
#{
	#resultat=`bc -l << $1
	#scale = 0
	#sqrt($1)
	#$1 | tail -1`
	#let "resultat +=1"
#}

#racine 10

#echo $resultat

#let "p = resultat"

#echo $p


#cpu_info=`grep -m1 'model name' /proc/cpuinfo |sed 's/[^:]*: //'`
#cpu_model=`grep -m1 'model' /proc/cpuinfo |sed 's/[^:]*: //'`

#echo $cpu_info
#echo $cpu_model

#i=`echo 3*$resultat/2 | bc `

#echo $i
